import {EntityId, PageQueryParams} from "kf-web-library";
import {User_Integration} from "@/services";

export interface UserTagPageQueryParams extends Partial<PageQueryParams> {
  searchText?: string;
  ids?: EntityId[];
}

export interface UserTag{
  deleted: number; //删除标记
  id: EntityId; //主键
  user: User_Integration; //用户
  contentTagSys: string; //内容标签(系统)
  contentTagSelf: string; //内容标签(用户)
  createTime: string; //创建时间
  createUserId: number; //创建用户ID
  modifyTime: string; //修改时间
  modifyUserId: number; //修改用户ID
}

export interface UserTag_Create{
  userId: EntityId; //用户ID
  contentTagSys: string; //内容标签(系统)
  contentTagSelf: string; //内容标签(用户)
}



export interface UserTag_Modify extends UserTag_Create {
  id: EntityId;
}

export interface UserTag_Patch extends Partial<UserTag_Modify> {
  id: EntityId;
}

